package com.ktwlrj.core.feign.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 行政区划树结构返回模型
 * @author 卢龙
 *
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode
@ApiModel(value = "行政区划树结构返回模型", description = "行政区划树结构返回模型")
public class RegionTreeResult extends TreeResult {
	
	@ApiModelProperty(value="机构类型编号")
	private String regionId;
		
	@ApiModelProperty(value="区域编码")
	private String regionCode;
	
	@ApiModelProperty(value="上级区域编码")
	private String regionPcode;
	
	@ApiModelProperty(value="名称")
	private String name;
		
	@ApiModelProperty(value="简称")
	private String shortName;
	
	@ApiModelProperty(value="排序编号")
	private int sortId;
	
	@ApiModelProperty(value="是否启用")
	private boolean isEnabled;
	
	@ApiModelProperty(value="0省 1市 2区县 3乡镇")	
	private int flag;
	
	@ApiModelProperty(value="外部编码1")
	private String externalCode1;
	
	@ApiModelProperty(value="外部编码2")
	private String externalCode2;
	
	@ApiModelProperty(value="外部编码3")
	private String externalCode3;
}
